package com.zf.shopping.service;

import com.zf.shopping.bean.Result;
import com.zf.shopping.model.Category;

import java.util.List;

public interface CategoryService {

    Result addOrUpdate(Category category);

    Result deleteById(Integer categoryId);

    Category getOne(Integer categoryId);

    List<Category> getAll();
}
